package fr.utbm.gi.vi51.project.agent.body;

import javax.swing.Icon;

import org.janusproject.kernel.address.AgentAddress;

import fr.utbm.gi.vi51.framework.environment.AgentBody;
import fr.utbm.gi.vi51.project.agent.frustum.Frustum;

public abstract class ProjectileBody extends AgentBody {

	protected Frustum frustum;
	protected int damage;
	protected Icon currentIcon, normalIcon, attackIcon;

	public ProjectileBody(AgentAddress owner, double size, double maxLinearSpeed, double maxLinearAcceleration,
			double maxAngularSpeed, double maxAngularAcceleration) {
		super(owner, size, maxLinearSpeed, maxLinearAcceleration, maxAngularSpeed, maxAngularAcceleration);
	}

	public int getDamage() {
		return this.damage;
	}

	public void setDamage(int damage) {
		this.damage = damage;
	}

	public Frustum getFrustrum() {
		return this.frustum;
	}

	public Icon getCurrentIcon() {
		return this.currentIcon;
	}
	
	public void setCurrentIcon(Icon currentIcon) {
		this.currentIcon = currentIcon;
	}
	
	public Icon getAttackIcon() {
		return this.attackIcon;
	}

}
